/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.recycling.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
/**
 * @author whh
 * @description
 * @data: 2021/4/30
 */
public class CouponModifyDto {
    @ApiModelProperty(value = "主键ID")
    @NotNull(message = "id为空")
    private Long id;

    @ApiModelProperty(value = "回收券功能是否开启  true开启 false 关闭")
    @NotNull(message = "回收券功能不能为空")
    private Boolean recyclingState;

    @ApiModelProperty(value = "商品详情回收入口是否开启  true开启 false 关闭")
    @NotNull(message = "商品详情回收入口不能为空")
    private Boolean entranceState;

    @ApiModelProperty(value = "按钮样式配置")
    @NotNull(message = "按钮样式配置不能为空")
    private @Valid List<BtnStyleDto> btnStyles;

    @ApiModelProperty(value = "关联卡券id")
    private Long assCouponId;

    @ApiModelProperty(value = "页面轮播图,传入图片地址url，用，号分割")
    private String pageCarousels;

    @ApiModelProperty(value = "活动说明")
    private String activityDesc;

    @ApiModelProperty(value = "提交按钮图片")
    private String submitImg;
}
